package com.ruoyi.system.module.appliction.mapper;

import com.ruoyi.system.module.appliction.entity.ApplicationCounts;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 应用日志统计Mapper接口
 */
@Mapper
public interface ApplicationCountMapper {
    public List<ApplicationCounts> selectSysApplicationCountsById(Long userId, Long menuId);


    /**
     * 删除应用日志统计
     *
     * @param id 应用日志统计主键
     * @return 结果
     */
    public int deleteSysApplicationCountsById(Long id);

    /**
     * 批量删除应用日志统计
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysApplicationCountsByIds(Long[] ids);

    public int insertSysApplicationCounts(ApplicationCounts applicationCounts);


    public int updateFrequency(ApplicationCounts sysApplicationCounts1);

    public  List<ApplicationCounts> searchNumber(ApplicationCounts sysApplicationCounts);
}
